/*
 * CItemFactory.h
 *
 *  Created on: 13 Nov 2012
 *      Author: Mario Kleinsasser
 *		Time:	19:46:26
 */

#ifndef CITEMFACTORY_H_
#define CITEMFACTORY_H_

#include "CItemCreator.h"
#include "CItem.h"

class CItemFactory: public CItemCreator {

private:


public:

	/*
	 * IMPORTANT!!!
	 *
	 * THIS CLASS WILL BE CALLED LIKE:
	 * CItemFactory myGameFactory = new CItemFactory;
	 * myGameFactory.newItem("ant");
	 *
	 */

	CItemFactory();
	virtual ~CItemFactory();

	CItem* create(const char *itemtype);

};

#endif /* CITEMFACTORY_H_ */
